//
//  FirendCircleDataSource.h
//  tcpoctest
//
//  Created by gump on 4/15/13.
//  Copyright (c) 2013 gump. All rights reserved.
//

@interface FirendCircleDataSource : NSObject
{
    NSMutableArray          *fircirShowArr;
    pthread_mutex_t         fircirMutexp;
    int                     sendIndex;//发送的标识符
    NSMutableArray          *photoArr;//发送的图片arr
    int                     isendpiccount;//发送图片数目
    bool                    bSendBgImage;
}

@property(strong,nonatomic) NSString *sendStr;//发送的string
@property(strong)           NSString *HudStr;//提示显示的语言
@property(strong,nonatomic) UIImage  *bgimage;//朋友圈背景图片
@property(strong,nonatomic) NSString *strdelid;//要删除的id
@property                   int      iPackupRow;//要收起的row
@property                   int      iPackupSection;//要收起的section
@property                   int      bPackup;//是否要收起
@property                   bool     bShowBadge;//显示红圈
@property(strong,nonatomic) NSString *newmail;//新消息账户

-(void)AddFirCirArrFirst:(NSString *)fs;
-(void)AddFirCirArr:(NSString *)newsid;

-(void)DelFirCirArrByID:(NSString *)strid;
-(void)RemovAllArr;
-(void)SetFCSendContent:(NSString *)strcontent;
-(NSString*)GetFCSendContent;
-(void)setFCSendIndex:(int)iIndex;
-(int)getFCSendIndex;
-(int)getShowArrCount;
-(NSString *)getShowArrObjectByIndex:(int)row;

-(int)getphotoArrCount;
-(UIImage *)getPhotoArrObjectIndex:(int)index;
-(void)RemovePhotoArrObjectByIndex:(int)index;
-(void)AddPhotoArrObject:(UIImage *)image;
-(void)RemoveAllPhoto;

-(void)SetHudString:(NSString *)str;
-(NSString *)HubString;

-(void)SetSendPicCount:(int)icount;
-(int)SendPicCount;

-(void)SetBGImage:(UIImage *)image;
-(UIImage *)getBGImage;

-(void)SetISSetBGImage:(bool)bset;
-(bool)IsSetBGImage;

-(void)SaveBGImageByMail:(NSString *)mail;

-(NSString *)greatFCcurTimeString;
-(void)sortShowArr;

@end
